﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using VIP.Manager;

/// <summary>
/// 使用时需要手动创建一个VIPUI->VIPCanvas
/// </summary>
public class VIPToast : VIPMonoSingleton<VIPToast>
{

    public void Show(string content, float time = 2.0f)
    {
        UIManager.Instance.OpenPanel<HitPanel>("HitPanel");
        UIManager.Instance.MakeText(content, time).Create();
    }

}